package cn.bluedot.model;
/**
 * 数据库备份信息类
 * @author hxp
 * 2019年5月9日 下午2:55:27
 */

import cn.bluedot.util.MySQLDatabaseBackupUtils;

public class BackupInfo{
    /**
     * IP地址
     */
    private String host;
    /**
     * 数据库的用户名
     */
    private String username;
    /**
     * 数据库的密码
     */
    private String password;
    /**
     * 备份文件的地址
     */
    private String savePath;
    /**
     * 备份文件名称
     */
    private String fileName;
    /**
     *  需要备份的数据库的名称
     */
    private String databaseName;
    /**
     * 表名如:test1 test2 test3可以为多个表名字符串
     */    
    private String tableNames;
    /**
     * mysqlbin目录
     */
    private String mysqlBin;
    public BackupInfo() {
        super();
    }
    public String getHost() {
        return host;
    }
    public void setHost(String host) {
        this.host = host;
    }
    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getSavePath() {
        return savePath;
    }
    public void setSavePath(String savePath) {
        this.savePath = savePath;
    }
    public String getFileName() {
        return fileName;
    }
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
    public String getDatabaseName() {
        return databaseName;
    }
    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }
    public String getTableNames() {
        return tableNames;
    }
    public void setTableNames(String tableNames) {
        this.tableNames = tableNames;
    }   
    public String getMysqlBin() {
        return mysqlBin;
    }
    public void setMysqlBin(String mysqlBin) {
        this.mysqlBin = mysqlBin;
    }
    
    @Override
    public String toString() {
        return "BackupInfo [host=" + host + ", username=" + username + ", password=" + password + ", savePath="
                + savePath + ", fileName=" + fileName + ", databaseName=" + databaseName + ", tableNames=" + tableNames
                + ", mysqlBin=" + mysqlBin + "]";
    }
    
    
    
}
